package com.axin.blog.api;


import com.axin.common.core.constant.ServiceNameConstants;
import com.axin.common.core.domain.web.AjaxResult;
import com.axin.common.core.domain.web.TableDataInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 博客服务 远程调用
 *
 * @Author axin
 * @Date 2021/10/31 23:15
 */
@FeignClient(contextId = "remoteCategoryService", value = ServiceNameConstants.BLOG_SERVICE, path = "/category")
public interface RemoteCategoryService {

    /**
     * 查询分类列表
     *
     * @return
     */
    @GetMapping("/getWebCategoryList")
    AjaxResult getWebCategoryList();


}
